package com.rem.logback;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Rem
 * @date 2023-01-17
 */
public class LogbackTest {

    public static final Logger LOGGER = LoggerFactory.getLogger(LogbackTest.class);

    @Test
    public void testQuick() {
        for (int i = 0; i < 100; i++) {
            LOGGER.error("error");
            LOGGER.warn("wring");
            LOGGER.info("info");
            // 默认级别
            LOGGER.debug("debug");
            LOGGER.trace("trace");
        }
    }
}
